package com.basic.business.actionPoint.service.impl;

import com.basic.business.kanban.vo.LinkManageRespVo;
import org.springframework.stereotype.Service;
import com.basic.common.core.service.impl.BaseServiceImpl;
import com.basic.business.actionPoint.domain.TActionPoint;
import com.basic.business.actionPoint.service.ITActionPointService;
import com.basic.business.actionPoint.mapper.TActionPointMapper;

import javax.annotation.Resource;

/**
 * 商品行动点管理Service业务层处理
 *
 * @author zhaoxy_jn@163.com
 */
@Service
public class
TActionPointServiceImpl extends BaseServiceImpl<TActionPointMapper,TActionPoint> implements ITActionPointService {

    @Resource
    private TActionPointMapper tActionPointMapper;

    @Override
    public TActionPoint getActionPoint(LinkManageRespVo linkManageRespVo) {
        return tActionPointMapper.getActionPoint(linkManageRespVo.getPayAmountLevel(),linkManageRespVo.getPayBuyerNumberLevel(),linkManageRespVo.getSearchVisitorNumberLevel(),linkManageRespVo.getGoodsPayConversionRatioLevel());
    }
}
